The Anatomy of a Conversation
Every interaction with an AI chatbot involves three types of messages:System Prompt
The foundational instructions from the AI company that define the model’s behavior, capabilities, and constraints.
User Prompt
Your questions, requests, and inputs to the AI.
Assistant Response
The AI’s replies, generated based on the system prompt and your input.
Example from Claude
Here’s how Claude’s system prompt establishes its identity:What System Prompts Control
System prompts are incredibly comprehensive, often containing thousands of lines of instructions that govern:1. Identity and Personality
From GPT’s personality system:2. Tool Usage and Capabilities
From Grok’s tool definitions:3. Safety and Content Policies
From Grok’s safety instructions:4. Response Formatting and Style
From Claude Code’s instructions:5. Context and Capabilities
From Gemini’s guidelines:Why System Prompts Matter
1
Transparency
Understanding system prompts reveals what AI companies prioritize and how they constrain model behavior.
2
Prompt Engineering
Learning from professional system prompts improves your ability to craft effective user prompts.
3
AI Literacy
Knowing how AI systems are instructed helps you understand their capabilities and limitations.
4
Research and Development
System prompts provide insights for building your own AI applications and chatbots.
Advanced Prompt Engineering Techniques
System prompts reveal sophisticated techniques used by AI companies:Structured XML/JSON Instructions
Claude’s system prompt uses extensive XML tagging:Multi-Step Workflows
Claude Code defines precise workflows for complex tasks like creating commits:Breaking complex tasks into numbered steps is a powerful technique you can use in your own prompts.
Context Management
Grok’s multi-agent system includes collaboration instructions:Real-World Examples
OpenAI's Canvas Tool for Collaborative Editing
OpenAI's Canvas Tool for Collaborative Editing
Claude's Citation Instructions
Claude's Citation Instructions
Grok's Image Search Triggers
Grok's Image Search Triggers
System Prompt vs User Prompt
Understanding the difference is crucial:This documentation collection helps make the typically hidden “system prompt” layer visible for educational purposes.
The Evolution of System Prompts
System prompts are constantly evolving. This collection includes:- Current versions: The latest instructions used by each AI model
- Historical versions: Older prompts showing how AI behavior has changed
- Variations: Different prompts for API vs web interface vs mobile apps
- Specialized modes: Prompts for specific features like voice mode, code editing, or thinking mode
Next Steps
Now that you understand what system prompts are, learn how to:How to Use This Collection
Navigate and learn from the prompts in this documentation
Browse by Vendor
Explore prompts organized by AI company